Added logging infrastructure
Updated the application to use the new logging infrastructure