Use dependency container to decouple IOC implementation from usage.