Added license, license comments, and updated Javadoc to proper format.