Added Spark Core Code.