Added license to files.
Javadoc fixes.