[Add] 'setmd' and 'rmmd' commands