Add ROI manager to simplify code in ComplexTaskSolver and extends its function.
closes #180.