finalized api for serial/parallel management of tasks