Changing configuration class and web config