Added EventListener and logger

Change-Id: I2bb7fc4982f61f8efde16864807b7e1266464e1c