Refactored app.config