Added a object to terminate vms.

Related to #1.