This creates the following pairs of NodeLayers and LinkLayers, with Ids of: "Background", default (""), "Foreground", and "Tool". Finally it creates and adds a NodeLayer that is the AdornmentLayer, in front of all of the other layers, for holding selection handles and tool handles. The "Tool" layers and AdornmentLayer are layers holding temporary objects, so this sets their IsTemporary property to true.