adding cache mock implementation
added the cache feature
self in place of this
finishing cached data