Snapshot creator

Code for creating snapshots + example