Add config file as first argument

This patch set adds the config file as the first argument to all
binaries and allows configuration of DEBUG from the config file.