Begun switching all data to flat files. Still unfinished and experimental.