readerWriter now consists of two classes: reader and writer