Added event trigger to createService.  We're using it to add route guards to generated controllers