adding a sql connection class