new layer: gameLogic. Holds the state of the game.