Redone the browserify build.
Splitted the db creation into browserified modules.