First commit of plot and R files