#12 Added a proper command-line parser.

Also updated license information in header files.
Command line parser is 3rd party, but seems to do the trick for now.