A Model-Based Method for Minimizing CVaR and Beyond