NXP-12375: refactor Work and WorkManager to allow Redis queuing (wip)