Initialized Database store with hashmaps. Fix #35
Fix #12
merge with nodb