Chore/refactoring organization

* created `base.html` template and inserted scripts and styles to prevent double loading
* moved all javascript from templates to `script.js`
* refactored view logic into single `render` calls

* added basic navigation bar