changed cache to use NSCache
Merge pull request #17 from jontsai/master

changed cache to use NSCache
resolved conflicts