Added snippets controller