add eventlogger and basic log handling