Basic IoC container for educational purposes.