adding SubChannel class and tests

Please review whether  this makes sense 
Cheers,
Snezana