Add readXml config file support as initiation for re-architecture