Added a decent command line argument parser.