started work on a more thread safe local cache

author: nhhughes
small changes, starting to fix crud methods

author: nhhughes
a little more work on thread safe cache

author: nhhughes
Merge pull request #17 from SixAppeal/long-polling

Long polling