[doc] add class javadoc
[add] check for existence before adding PageRank score