Refactor the Configuration.cs file.