Rough beginnings. Basic support for DB_OPEN