moved code to set templates to Controller->loadTemplate() from Controller->__construct()