Resolving dependencies, routes now working