Fixed db interactions. Added ontology suggestions.