Introduce logging module for ability to control output