create snippets and default layout