refactoring status bar and menus for the new api
adding file