WIP: removing javadoc errors
This branch is to deal with the javadoc problems. You can try to build javadoc using the gradlew javadoc command. So far I fixed the errors that prevented the javadoc from building. There are still lots of warnings around the place because of missing documentation on parameters and return values.