Add migrate command
Improve version check
Add migrator_spec
Implement migrate_from_2
Write original yaml in footer
Add host_lines