added three.js stuff and some code from an old file that doesn't work yet