created a class to handle menu items and added the menus to the main GUI