added log and app.config file