Create Tree class