add main layout and menu