Small, closure-based dependency injection container