refactor events frontend module

• work in progress WIP
• fix little things