add .gitignore
add some comments