Move data manipulation to app.js