Divided up code into separate files. Parses reader/writer files