Add XML format definition.
Add XMLSerializable interface and implementations.
Implement logic to save cache data as xml format.
Refactoring on caches.