Cache

Remove most of the old caching library since caching is going to be handled in core from now on