remove .class files and modify the .gitignore file