Use exdbi for SQL databases

This is a little bit rough on the edges so far, but works