Refactored prepare_instance & create_snapshot in Command
Refactored opts_setup & smtp setup in Mail