adding core project and autofac