Create commonService.js