Making use of the so-far unused tree.h. Moving the struct definition to the header file