Add VMs launch script, clean up some code into different file and classes