Create appService.js