Which industry contributed most to the economy of the Kilwa malindi mombasa and sofala city-state?