Refactor|Map: Encapsulated node piles and line links

These data sets/structures are no longer visible at API level.