Added command line parsing.  Name of file to save.  Also cleaned up the code layout a bit.
Added command line parsing.  Name of file to save.  Also cleaned up the code layout a bit.
Merge pull request #1 from StevenPatz/tweaks

Tweaks