wal: add a doc file

ack. It is still under work now.