Added api calls to load and download the data into a dictionary