First pass with some xml sending/receiving stuff.