created the controller
adding the views,models and controller