Moved the XML parsing logic in to a separate factory. See #9.
Merge pull request #10 from johngeorgewright/9-xml-parser

Moved the XML parsing logic in to a separate factory. See #9.