add copyright notice, javadoc comment improvement