chore(driver-compat) add public constructor and doGetCollection to DB class