moved class TreeReader from kinvarbuilder.py to its own file