reorganized some files, and the data io should basically be working now,...

... but still probably has lots of bugs