add simple challenge creation; some minor type corrections in schema