Added ignore .class and .swp to the gitignore file.