Mostly converted command line parser.  Just need to run checks.