Initial Berkeley DB support