Created GameManager class for game logic