starting the game class, some more refactoring