Menu system

worked on the menu system and the menu model