addd opts and common for views
changed header opts css and layout
decided to move to angularjs