Add DSCMonitor class to enable event-driven shared variable monitoring.