Switch to using SparkContext method to create RDD