Faster parse

Group all elements we want to parse in one parser so that we can parse
the thrift file in one go.
Merge pull request #30 from suzaku/faster_parsing

Faster parse