Implemented output for device.

Text output for xbimu.  TODO: NEED to fix bugs and start porting
implementation for real scenario