Like other empires, the Mughal Empire had lots of different communities. How did it successfully rule all of these groups until the mid-eighteenth century?