Add build system to generate snapshots