remove .class files and add a gitignore