main.models: add model for UnitVariable
Migrate unit variables to passVars on chain creation