adding boxing and unboxing code - allows putting a copyable/referencable class into some allocated memory