Modified constructor of DAGSchedulerSource and BlockManagerSource because the instance of SparkContext is no longer used