.gitignore : add a rule for .swp files
model.js has basic model actions.