Make app.config generic