I decided to work with ptp-gadget (http://git.denx.de/?p=ptp-gadget.git;a=summary
It's quite good. I'm working on adding write capabilities to it (currently it can only copy from my device to the PC but not from PC to my device). If my code will be good enough, I will publish it.
Thanks for your help guys,