Development: added usb buffer allocation

- Tidied up code
- removed unused vars
- deleted commented out code
- added new vars to usb dev struct