factor db out of the search service
PIMP-A-THON-O-MATIC!!!