moving the api_client creation to private