expanded db class, woo

assuming we'll be using the odbc provider, but they're all similar
enough anyway that switching to another won't be a big pain.