Added documentation and a GPL statement to all relevant Java classes.