Do grammar building once in GrammarDataSet
added OTStats, refactored stuff into GrammarDataSet