Added Tree in tree.py. Information is added to Tree, whenever a widget is added