add R.java to gitignore
use task for threading