saving and loading snapshots with setup...

working but to be examined further on

Signed-off-by:  <st9fan@gmail.com>