Use SparkConf to set parameters, automatically add jar if not running locally