WIP: Moving things into distinct files
Added require and removed the vendor dir
Split into files and used browserify
Merge branch 'master' into gh-pages