fix various problems with the data parsing thing

* deleted junk files and directories
* rearranged processors and templates