register ConfigService as service