Turn makeCardSelector into a constructor