Add and improve config javadocs