added crud for virtualmachine to rest api