added some fields to DBEventHelper and finished cursorToevent which returns an event object from the db