Added XmlReader class for xml parsing closes #4