Moved ontology parsing to index. Added basic ontology indexing.