WIP *: init for on disk snap support

Please review... sorry for the fat pr... and it will grow a little bit. we need to change main.go and maybe add more tests.
make it `Compact(index int64, d[]byte)`?
Or add `Current implementation implicit that compact happens on all applied entry.` comment