trying to structure these files so I can load it as a package in R and get access to the data files and functions