Updated snippetSchema and added SnippetController