Rename main.php to templates/main.php