I'm looking at creating a Combres module for Orchard (http://orchardproject.net/)
There are a few hurdles along the way.
The first one is the logging. It should be possible to turn it all off, without relying on the web.config file, which relates to the second point.
The second one is the configuration. It is internal, sealed and private.
The third will be the processing, which now is done in a handler.
In Orchard, everything is supposed to be modules. You can do pretty much anything, but what you shouldn't do is relying on modifying your web.config with handlers and other settings.
So basically, what is needed to set this up is a decoupling of all logic, so code can configure it, and execute without web.config/handlers etc.