Refactored w/ new level system and state machine