Social factors in the rise and development of the Bangalee middle calss in the first half of the nineteenth century