Tree Management/Negotiation

Added TreeManager and a packet to send the tree to the client (unused as of yet)