Added game logic and control environment