major overhaul to sweet-contracts syntax