added snippets.php and snippet_template.php