CLI for taskflow-based execution

Remove obsolete migrate_* functions from command line script and
replace calls with constructs from taskflow implementation.