added event handler Interface in a separate go file