Added RecordReader class