Berkeley db environment and stores management module has been finished.