rfc5: clarify mod_main usage + cleanup
Merge pull request #11 from garlick/module-loading

rfc5: clarify mod_main usage + cleanup