Ultra-lightweight DI container that supports optional dependencies