added xml helper, log, and tests