added require to the controller to get access to the view and the model