create XMLReader class