Extract parser.

Parser now handles all the state, and Orgpedia.to_org is purely functional.
Dissolve string wrapper into module method.