Fragility, conflict and violence in middle income countries