Example of application with revealing module & pub/sub patterns