rename files to model.js and view.js