Add core struct and master task to spawn worker tasks in work items.