added a bunch of convienance db methods
added db convienance methods for testing