The battle for control in Libya