refactored channel pool. Added copyrights.
refactored features to be user providable/overridable.