Refactored the GameManager class