restructure functions, dirs for package
add package&function documentation, separate data-file
correction documentation; data
adapt project() function to take & return stacked pop