clean up in the app.js file. Now it is a module.
creating the app.observer