implement listVirtualMachines

get the code to compile for all other method calls