modify app.js and add Model, View