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`.
The comma at the end can be removed.