listener: make it use configs and now it works on multiple ports to multiple channels