refactored HashServiceConfig