xml parsing added

parses xml from server into event objects and json objects