Add .gitignore and remove OS-generated files