Started work on core functions.
Prepped for porting three.js and creating required files.