Refactoring
Add switch off events
Add save statistic and clear simulator