Reusing Initialization Code in Startup.cs