contract translator and contrcat structure
modification on ontology and bugfix on event hashcode