adding route, controller, and model