Add preProcess and postProcess
Merge pull request #10 from mariocasciaro/pre-post-process

Add preProcess and postProcess