Add sessioncache as if it was a rebase.

I am not sure this is the right approach to what we discussed yestersday

- but it does at least just focus on that one module.  It works for the standalone case as far as the docstring goes. 

I did promise this for review but I suspect we may want to expand the scope