Added threads and extracted input arguments when starting them