Improvements in Engine/Scheduler/Tasks, adding task::Factory.