refactor Event and Annotation, add initial Node class