begin testing functions
reorganize code files
add gitignore to ignore data files
make the first kind of data testable