removed global db.

this is not used currently and I'm not sure what
Mikeal had in mind.

Signed-off-by: tanji <nicholastanjerome@gmail.com>