added configuration file config.json and moved
app routes and app settings in different files