Added Tree Class to simplify filling