closing in on parsing classes so document type xml can be generated.

added dependency on nrefactory.