restructure of lightscare eventsystem