Added configurable host and path prefix to configuration and routes.