this is sorta what is happening right now with leek. we need more generic solution @stefanpenner. I will more than happy to chat and start working on simple DI mechanism.