Very basic dependency injection container