Miguel/plugin refactor

I am generalizing merging of N inputs.  The input itself is an array of plugins.  [plugin1] , [plugin2, plugin3].  I wanted to make sure I could handle adding yet another array of plugins.