add the controller and model