Created a shitty game-state manager.