Changed xml config format.

Instead of a string that has to be parsed, sources and destinations are now
split into subelements.