remove duplicate libs, include javadoc