A simple tree class, mainly for enigmage.