Detached repository builder from autofac project