Switch initial config files format to xml and add autodetect adapter for config persi...