added threads count configuration
added threads configuration
added threads configuration