projectSetup documented

Added description to the R code