Add .gitignore and remove dotfiles.