added comments, and added settings
Basics for movement and state machine
Player movement state stuff