Refactoring codes: topic -> channel