Refactored Arff reader