Who had the most power in the social class structure developed in Egypt?