added routes, controller, root