this is a class to provide method to operate sql