Replaced static configurations in Spark worker

The spark worker now maps to the spark.properties configuration file in
resources.