Moved the postprocess code to its own directory