Updated examples and added .gitignore.