Fix csv output and add file reader
Merge branch 'io'
Merge io and add optparsing driver
add optparse to driver
Merge branch 'master' into driver