Move template helpers registration into pnm-app module