Refactoring and testData.txt
grammer