Changed all routes to config
changed all references to a host and port to config