Rewrite of TreeManagerUI to template toolkit: First steps