fixed animation plotting
Added xml helper class