Templating refactored

We are no longer rendering each partial/template separately before passing it to the next template. All the partials are rendered in their parent template by including the `ejs` template directly. Some adjustments were made in the `BaseViewController`.
There's some duplication here with the `parameters` object defined previously.