Move NotesBackend service to app.js