reworked file structure to remove dependence on absolute filepaths