Implements an ObjectFactory that instantiates glue code via needle.
This allows easy configurable dependency injection without relying on a full blown DI container and automatic mocking of all not explicitly specified dependencies.
See needle tutorial for more information.