add a gulp build, and re-arrange everything into "modules"

This isn't a 100% build, but gets a long ways there.