Fix wrong file permissions
Add .gitignore