Added class Output. Change output in ReceiverRunnable