Add memoize function and push a couple config options into dataservice for caching