refactored examples
updated .gitignore