Implemented TrxParsing via c# classes instead of xml document parsing.

Hi,
I have changed trx parsing from xml document to c# classes.
Please check this pull request, if you find this good. please merge it.