Move structs to top of file for dev convenience.
Reference counted rootNodeLoc struct.