add .gitignore, fix style a bit