add code to skip blank lines and removed old commented out code from generateRecords() function
removed old commented out code, created statistics structure and some TODOs