Added Berkeley DB access