master : started implementing the output method for outputting menus into the frontend