refactoring; add in javadocs in config files