built menu and added corresponding pages.