Refactoring of TC with SensorSimulator usage.