Removed .class files and added ignore rule to .gitignore.