moving db.js to be in lib root (it was confusing the background page generators in the extensions)