Added State Machine and GameState