Example snippets writer

Change-Id: I5913d0b54e41f7e2606f39340fd867e1af3f20b9