Real-time control and monitoring system