Make Config's threadsafe, remove logic from ServiceConfig