First commit: the basic tree data structure.