WIP: refactoring toolbox code
Moved switches, transformers, and processors into toolbox