move xml loading code into loader class
load properties in XML loader class, too