Move simulation to separate class
Add storage of settings