Implemented all commands on usrc.bin and cleaned up code.