added xml parser and builder