New module for post processing
Cleaned up the code and re-organized dependencies