get rid of debug flag from output config

debug is represented by the non existing config (null ptr)
rename output config to output filter
rename command config to commands
split output handle to filter and output stream related parts
source file filtering signature simplified