Move actor code from wes_channel to separate file.