Added a controller to the application