Initial scanner code
Moved CmdLineParser to common