added basic functionality to send and receive messages to/from PD for given time
ports changed in patch, so that now work ok