Added javadoc comments to all files