added comments and cleaned up code, updated for analog sticks mapping, added serial debug