Added controllers and edit the view to correspond