added SQL utility classes