more changes to channel class and manager (not in working state)