moved index.php to template folder. need index.php to view.