Adding cache decorator #3106
Fixed thread lock
Merge pull request #7 from Alkemic/bug_3106

Adding cache decorator #3106