initial implementation of Berkeley DB C version storage