Rest tutorial: Add snippets model