In main_units table there is a caste property for every unit, it ranges from light to heavy and includes generic and auxillery and mercenary. I have no idea if making a unit heavy caste actually makes him run faster or has any bonuses to charge. Also what's the difference between caste and weight?