Generate raffle controller