finished initial implementation of term caching from external ontologies