Move the command line parser to a separate file.