Added game logic class