Changed spark context as lazy val to become just val.