Separated ConnectionOptions and Config. Added configurable connections and channels.