Updated javadocs for ConfigDatabase, removed some try/catch blocks, added a hook call to generateConfigFile.