class to manage menus