Updated javadocs for data writer and reader