added vmmanager.cc and h file and fixed code\vm folder