basic scaffolding and main page hook for events