Full dump of code on crowdsourciiing.com for backup perspective