main game class