refractor settings
removed unused lib folder
make top bar part of app tmpl