refactored out OntologyRepository
more ontology refactoring
refactored concept for secure graph