add ResourceClientFactory