The caste system is a system that divides Hindus into four main categories - Brahmins, Kshatriyas, Vaishyas and the Shudras. Sorta like a pyramid of food groups in health. These castes were based on peoples daily jobs/occupations. Outside of the caste system there were the untouchables or otherwise known as the "the Dalits".
Hope I could help! :)
I believe it is both had restrictions on personal rights. Hope this helps.
The Government helped with railroad companies by lending them money for the material that they need and by lending them the material they need. That is how the Government helped railroad builders.