Modularize by browserify

Use browserify & gulp to gain modularity.

- [x] Migrate to gulp
- [x] Use browserify to build
- [x] Modularize