create object and handler for xml (done)