Initial complete implementation of LabelTree