Added thread, demo and xml_tree (dependancy)