XmlReader class creation