Update license and status of samples
Add comments to snippets