javadoc
Added license (apache license 2.0)