add ~define/contract
Merge pull request #11 from AlexKnauth/define-contract

add ~define/contract