Fixed a XSS exploit. Centralised the post escaping logic. Began work on the Analytics UI.
Moved the accumulator sub-builders into their own file. Implemented OO methods for the prebuilders. Began converting the generated queries over to the OO methods.