Added .gitignore for .class files
Bug fix involved with the R file and a few xml typos