Small update: created class "Events" from class "Window", but  methods that duplicate do not removed.