made progress with XML serialisation.
xstream library addded.
resources hierarchy simplified