Delete old files

Refactor kernel upgrade in phoenix-agent and delete old classes.