Add result handler to handle every step's out put data and add thread pool