updated three.js, added a particle engine, updated script structure