Loomis' Nested Set

Loomes' Nested Set is a class that can be used to manage a tree of information stored in a database. It can perform several types of operations to manipulate a hierarchy of nodes that are stored in a database as table records. Currently, it can insert a root node, insert a node that is child of a given parent, delete a branch of nodes under a given node, delete a single node, rename a node, move nodes, check whether the root node exists, and retrieve the whole tree of nodes.