Add Redis persistence. Flesh out core logic.