Minimal pure-Swift IOC/DI container implementation.