added javadoc to several methods and classes in the SQL package