Thanks for posting this tutorial! NOMP has definitely never really been that user-friendly as a source. Not to plug, but for the past year I've actually been working on solving this exact issue through a complete rewrite of the core code itself. Came across your thread by accident, but for anyone trying to build their own mining pool, feel free to check out
https://github.com/blinkhash/blinkhash-server and its documentation (
https://docs.blinkhash.com/)