Adding getClient to allow dependency to be injected at runtime