refactor and document ReaderCSV, update unittest