added snippets for collection view, composite view, controller and layout