added routes and controllers