Create fmsService.js