[+] BO : Adding tree templates and functions