Move the CTCP functions into the CTCP component