caching implementation
Merge pull request #15 from AntonKolmakov/caching

caching implementation