added javadoc to all the things