moved template.php to template directory and renamed