Inline event and context property initialization
Renamed effect.event to effect.cause
Refactor actor behavior and state update