First implementation for DataHandler and PortListener