Created a simple controller for the index.php view. Still needs to be completed.