Read Spark configuration from dedicated config file and class