- Added VM::createInstance to handle instance creation