begin the layout
refactor the menus