Added routes to registry
changed reference to config