Added LegoMonitor class