A New Model of Solar Flares