Added some calculation to the ma bot (not complete yet) and made the ChartProvider a singleton.