Cleaned up and commented most of the usb code

As the title says, plus I consolidated the usb code to one file (the two usb .c files were very similar, and only one was used). Most of the code is commented.