What did many towns establish in the Islamic world?