Adding a cache class that is a wrapper for the transient api.
Adding doc blocks to cache class.