added localForage
working, more self-explanatory top-level graph. needs local caching.