Initial commit of the R files