fixed warnings, gitignore .class files