Implemented vm::var.
MemoryAllocator replaced with vm::var