modified VMSpec.py to receive vm spec dictionary as paramter for constructor