Market design for non-profit applications