Fixed syntax in some files. Added vim .swp files to the git ignore list