Added custom router based views to the templating class