Mdef, Bdef: implementation+coding draft