linked up the game to menu

added panel to the game and changed some classes to public