Add XML parsing functionality

Created a new class to parse the xml config file.