Added posibility to change simulation settings from main.cpp