Add config and the possibility of debug messages