fixed all files to make them follow the new format for api calls program