Add initial implementation of a tree