Switching method back to add from resolve. No longer need the IOC container.