class diagram for crf++