Initial work on persistent storage
Store `flip` across sessions