Added post-processing methods

Lots of stuff…so many hash maps and lists….