Setup events controller