Xml storage

Still not quite working...