Factor CNDB.Command and CNDB.deploy from FFW

Ditto for CNDB._Base_Command_