An implementation of a tree data architecture