Remove references to couch and allow setting of the db driver