re organze the modules using nodejs's style
use browserify, fixes #4