mflac: extracted business functions to a mflacService.js, so I can later protect this service layer inside the mflac controller.
Merge remote-tracking branch 'origin/master'