Refactored AnalysisRunner