include khash for handing the db hash tables