[add] a bunch of stuff for tre parsing.
[added] Tre lib