use IoC container to store new objects