Encapsulated game manager in a class