installed autofac, added IoC to ApplicationEventHandler