Adding DatasetReader and DatasetWriter classes