There is now db storage functions in place, and a cache for quick-fetching.