add SimulatorController class and update web/run.py