refactor for use as library
upload csvs
UNTERM: no mangled encodings of values