added XML config file parsing, still need to read and parse XML attributes