allow overriding all config via constructor