Simple database implementation for storing keys and values.
Fixed problem with delete in database.
Intermediate commit.