control/tree.c: Add a new structure to work with tree.