created controller

controllers are responsible for managing a specific view. In this case
there is only one which is the index page of this single page
application. Use a controller for each view if there is more than one
page on the application.