Rename templates/index.php to public/index.php