Create networkService.js