Added caching to Service::getAllVirtualMachines()