Added a simple Caching class