Refactor postfix module

* Get rid of all global variables
* Parametrize classes
* Use a one point entry, with parameters to include other classes
* Use stdlib to validate parameters
* Lint the code