added factory pattern for AI.Highcharter