Add javadoc documentation to methods and classes where it was missing