* Add serialize and deserialize methods in the Cache class
* Update Cache unit tests
* Refactor Cache class a bit