Reorganization for publishing as NPM module and adding Browserify support