General existence theorems in moduli theory