wal: init

@unihorn Let's work on this branch
We are not worrying about CRC, snapshotting for now.
put this at the top in a defer to ensure it gets called?