Designing Grid services for distributed knowledge discovery