Factor channel mixer into separate ns.
Move input.middleware ns to handler.
Clean up mode config imports.