added workload dir, defined tasks and threads