Modification of app.js, index.js, framework.js, server.js
added code to manage routing (2)