Query Events responsibility is separated from Connection.
EventHandler class added.