added channel manager infrastructure and added history scrollback