Refact views to build menu items