contract stuff moved to sub-package, smartcontract building