Add line endings and gitignore