Changed package statements for R files and other imports