Added a logging service to track events
Added logger