checksum for binary reuse, moved functions to package
load csv as they come, permutation index, moved functions to package