added JavaDocs to Settings

Added JavaDocs to Settings.java.