added a separate class for async background retrieval of data from server