Fixed parsing arguments from the commandline

Added ArgParse to validate the commandline arguments and
to create a dictionary of all incoming arguments.

Fixed overriding values within the XML and the use of
--config to supply the configuration files location.