added some comments to bookmark.java and BookmarkGenerator.java