Clarified ownership hierarchy in sparse graph structure, and removed redundant pugixml library.