Added the controller and the controller to the view