Adding possibility to create TP
TP not finished and tested
Tree update needed onbase of tps