Add features, and clean up code

* Added a ‘debug’ mode for the entrypoint script.
* Added a ‘debug’ mode for postfix.
* Structured and cleaned up the entrypoint script.
Update README.md