Overhaul the command line parser, initialization.