add controller and model