modified classes for testing purposes in main game loop