Adding logging, javadoc and comments to PaggeTagger.