Add API to create Virtual Machine