ioc change to autofac