Moved game logic into GameEngineMediator