Snapshot generation

🚧 In progress.