refactored TreeReader into NclReader
refactored TreeReader into NclReader