SchedulingVisualizer made more modular