A former employee at a church program for troubled youth in Des Moines was sentenced to a maximum of 17 years in prison for child sex crimes.