added ApiClient code for Shepherd API calls

Added APIClient code for calling Shepherd's API via json-home page indirection.