add a list command. refactor into a storage interface and the fdb implementation.