Redid the index.php as the controller