First prototype for persistence with berkeley DB