Lets try target/dispatch routeing
re-implment parts of deferred tasks so they with flask