Removed majority of magic numbers
Removed majority of magic numbers
Added motion control, state machine for input control. Non-functional.