added service.data.js for data access and implemented promise chaining for saving new participants and teams in controller.contingent.js