Add emitDomainEvent on Context, Change internal path structure