added diagram, updated .gitignore