Some utilities to achieve IoC/DI functionality using python