Update Routes and define controllers.