creating the controller, actions and views for the Subject object