cleanup
update index.js
fix router dependencies
fix connection references
Merge pull request #2 from chris-rock/master

clean up dublicates