added comments to the sql class