Moved all the code which depends on the decoder plugins to a separate source. That allows leaner test programs.