db refactor
Updated key_terms_helper to include type and id
Merge branch 'bdotu/add-database' of github.com:bdotu/semantic_api_agent into bdotu/add-database