add better bdb constructor with config. allow to adjust lock timeout
this way