removed swap file and improved .gitignore