Changed some bugs. Added ContractValidator directive. Working on distributionNew.