Added scala version to project definition
Fixed bug with SparkContext instantiation problem