Add data structure Snippet and data provider interface SnippetService.