Refactor of kernel upgrade in phoenix-agent. Use Engine instead of
Workflow.