Implement small caching system