Use a blocking output function (util.printrint) so that node output doesn't get mixed with REPL output. Also, rename the events for better self-documenting code.
Add explanation for how to run the app