Setting up the smart contract instance