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.
i do not want to change anything in this pull request.
The purpose is just to support simplest on disk snapshot.