Merge pull request #4 from nickmalleson/master

Command line parser works
Merge pull request #5 from nickmalleson/master

JSON compression mostly done
Merge remote-tracking branch 'upstream/master'