Moved Teleporter structure to C#