Added vm create and destroy functions