Portals module extracted from Terasology engine