Whitepaper code for open source distribution