Number of threads can be changed via macro now. Also config file is being parsed (currently only 3 parameters)