Add importing & exporting to the parser

This is an overreaching branch to add support for importing the generated data into WordPress.

This is basically a rewiring of all the internal parts of the parser to make them reusable and useful for exporting.