added autofac and DependencyConfig class