Better implementation documentation via comments
Factor out attributing parsing into separate lines

And add a few more clarifying comments
Use value of ORG_DOMAIN for email address domain if set