R class and changed gitignore.