Move parsing logic out of Main, and introduce new class to store parsed config.
Merge branch 'refs/heads/master' into config_object
Move all remaining CliHelper features into new CliParser class.