add gitignore and remove swap files