adding start and stop function for Virtual Machine