The site includes some description of the functionality and main statemachines.
The code is based on some free cores 8051 and USB function. The PHY ismy own code.
http://bknpk.no-ip.biz/usb_invitation_for_final_pj.html