added a basic menu to MainFrame and implemented some basic functionalities for it