Update and rename classes/controller.php to classes/controller/template.php