hashmap implemented database.