Javadoc

Added Javadoc comments