starting linking thread safe cache into code.  currently everything very broken

author: nhhughes