Carve up into smaller modules with Browserify

@barnabyc @flahertyb