David Kimura PRO said about 4 years ago on User Notifications :
   You can put it in your app/models or create a new folder in app like services and put it in there.