add batch decode interface
rename example cli
fix batchdecoding