creates routes, injects routeProvider