creating indevidual classes, fixed app-menu, handle menubar for osx