Added support to get topic, made channel a class