Player major update

Added state machine and preliminary collision system for player.