Implement basic IOC example.