updated javadoc and renamed file extensions.