Added resources, $vref.
Merge pull request #170 from jrossignol/master

Changes for ContractConfigurator.