use more delegates, remove redundant code
simplify committing mechanics
configure rspec mocks
fix specs on ontology deletion