Removed logging
On publish the channel sends message to itself
socket handler pattern for pub/sub added