- added javadoc
- added some tests
channel factory tests