Class CmdLine is created to parse command line.
CmdLine is refactored.