Annotation based caching library