Implemented basic functionality for the MainMenu