adding routes and controllers