Added basic event handler stubs and logging