added xmltoarray class