renamed service factory to service config