reference main script properly
pass in the three object to the module; this is to work around three.js wanting types... what is this c++?