added models folder and modified app.js