rename app.js to service.js