Refactored out names shadowing built ins.
A publisher is now in place, with config files. Renamed the doc processor to avoid confusion.