AddDbContext method for DI

Will rename this to CreateInstance.