Changed method name for the fething data method into getProducts and deleted the unnecessary files.