Added JavaDoc documentation to the project.