Integrated Identity with AggregateBase class.
Converted Mediator to dispatch events with envelope and sending aggregate Identity.