Ali Mohamed Gedi has resigned as prime minister after an ongoing power struggle between him and president Abdullahi Yusuf Hassan; meanwhile, civilians flee their homes and more than 30 people were killed in ongoing fightings between Islamist rebels and government troops in Mogadishu