Add in proper API endpoints for files, extract api version to var for easy change later, add bz2 option for future usage if component allows or users ever ask for it