Tweak example jobs module

Add comment with filename and separate job functions from event handler functions