Removed unnecessary code
Remove Swap and update gitignore