Implemented programmatic adding of VMs