fix the file right and add .gitignore