Issue190 add javadoc in config classes

Closes #190.
Please merge #189 first.