keyvalue database abstraction in progress
remove editor tmp file
remove editor tmp file
code for generating database