Added MainMenu functionality