added comments and .gitignore