Improve commenting
Update variable naming
Move main.js out of src and into /example

Will allow custom deps. paths to be specified.