refactor main menu creation
make switching between menus possible, Closes #5
update doc