implemented SparkAnalysis Controller