Update createVm

1.Refactoring to simplest config options