code overhaul on vsphereapi.py, and adding virtualdevice methos