Added code from betacode.html to main project