adding db connector
adding config value method