Create tree.class.php