REF: put command registration in separate function.
REF: put command registration in separate function.

cournape/Bento,abadger/Bento,cournape/Bento,cournape/Bento,abadger/Bento,cournape/Bento,abadger/Bento,abadger/Bento