Clean up events constructor
Clean up events constructor

AnshulJain1985/Roadcast-Tracker,ninioe/traccar,tsmgeek/traccar,AnshulJain1985/Roadcast-Tracker,jssenyange/traccar,tsmgeek/traccar,tananaev/traccar,jon-stumpf/traccar,jssenyange/traccar,jon-stumpf/traccar,orcoliver/traccar,tananaev/traccar,jssenyange/traccar,ninioe/traccar,orcoliver/traccar,tananaev/traccar,ninioe/traccar,orcoliver/traccar,tsmgeek/traccar,jon-stumpf/traccar