Reorganise package and example
Remove logging from listener package.

This shouldn't be done here, but in the app that includes it.