removing code from the game engine (again). Starting to use app states
removing code from the game engine (again). Starting to use app states