Update and rename plot2dev.R to plotting.R