Move repository to lib/db.js

Relative paths for "library" type modules
Merge pull request #1 from wombleton/master

node_modules -> lib