Simplified adding menus

Created a helper function for making menu items and simplified the
process of making menus