update memoize-decorator caching
improved documentation