Fixing app.config file and the context class