wal: init

@unihorn Let's work on this branch
We are not worrying about CRC, snapshotting for now.
err=%q