added MainMenu class