Database connected, Event class added