Finish up for the first version

Add argument parsing, CSV I/O, character encoding