Implement (optional) delegate (and add .gitignore)

Implement (optional) delegate (and add .gitignore)