added Autofac copyright since basically this is a mush of their own code