added base events gui
Moved events callback to events fragment