added number of threads to config.ini, removed Config class