update gitignore and remove swp files