Added Client class to abstract http retrieval method