re-implemented configuration via CLI arguments
implemented proper logging
removed debug flag from post dipatcher
removed debug flag from pre dispatcher