use local cache for vms, reduce get method usage.
Merge pull request #6 from hopkings2008/master

use local cache for vms, reduce get method usage.