Simple confLoader which supports properties and xml file.