ProductRepository class to load data from API