Refactory aggregate root factory and aggregate internal event handler invoker implementation logic.