passes the config and logger to the handler factory