change ssql class to be able to receive runtime config from user.