The hardline al-Shabab militant group and related Islamic groups control much of the country after a two year long insurgency .