RD: refactor - move plugins into separate files. Create user-history for click-through quality, and referring domains.

Depends on channel manager loading first