Add package.json and move third-party dependencies into package.json.
Reorganize directory structure so that source files, examples, and production scripts are clearly identified.
merge reorg, README npm instructions, bedtime
code integration
finished integration