Eventhandler

Eventhander data will now be written into the database